Skip to content

Documentation CI stability#27

Merged
gregnazario merged 1 commit intomainfrom
cursor/documentation-ci-stability-75af
Feb 6, 2026
Merged

Documentation CI stability#27
gregnazario merged 1 commit intomainfrom
cursor/documentation-ci-stability-75af

Conversation

@gregnazario
Copy link
Contributor

Fix documentation CI failure by using nightly Rust for the deploy-docs job, as the doc_cfg feature requires it.


Open in Cursor Open in Web

The deploy-docs job sets RUSTDOCFLAGS='--cfg docsrs' which activates
`#![cfg_attr(docsrs, feature(doc_cfg))]` in lib.rs. Since feature(doc_cfg)
is a nightly-only feature, the build fails with stable Rust 1.90:

  error[E0554]: `#![feature]` may not be used on the stable release channel

Switch the deploy-docs job to use nightly Rust, which is the standard
practice for documentation builds (docs.rs also uses nightly). The separate
'docs' CI check job remains on stable since it doesn't set the docsrs cfg.

Co-authored-by: Greg Nazario <greg@gnazar.io>
@cursor
Copy link

cursor bot commented Feb 6, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@gregnazario gregnazario marked this pull request as ready for review February 6, 2026 11:57
@gregnazario gregnazario merged commit 98c9557 into main Feb 6, 2026
14 checks passed
@gregnazario gregnazario deleted the cursor/documentation-ci-stability-75af branch February 6, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants